package com.gexiaobao.pigeon.app.network

/**
 * 作者　: hegaojian
 * 时间　: 2020/3/3
 * 描述　: 列表数据状态类
 */
data class ListDataUiState<T>(
    //是否请求成功
    val isSuccess: Boolean,
    //错误消息 isSuccess为false才会有
    val errMessage: String = "",
    val shopName: String = "",
    //错误码
    val errCode: Int = 0,
    //是否为刷新
    val isRefresh: Boolean = false,
    //是否为空
    val isEmpty: Boolean = false,
    //是否还有更多
    val hasMore: Boolean = false,
    //是第一页且没有数据
    val isFirstEmpty: Boolean = false,
    //列表数据
    val listData: ArrayList<T>? = null,
    //列表数据总计
    val total: Int = 0,
    var startTime: String = "",
    var countDown: Long = 0,
    var state: Int = 0,
    var payState: Boolean = true,

//    //下一关 上一关
//    val nextPassId: Int = 0,
//    val prePassId: Int = 0,
//
//    val passName: String = ""
)